package mi.payment.transaction.authorize.revoke;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import mi.payment.R;
import mi.payment.transaction.authorize.base.PreAuthorizeInputInfoSwingActivity;

/**
 * 预授权撤销模块 -- 刷卡界面
 */
public class PreAuthorizeRevokeSwingActivity extends PreAuthorizeInputInfoSwingActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mTvTitle.setText(R.string.pre_auth_revoke);
    }

    @Override
    public void onClickOK() {
        PreAuthorizeRevokeDealInfoActivity.startAction(this);
        finish();
    }

    public static void startAction(Context context) {
        Intent intent = new Intent(context, PreAuthorizeRevokeSwingActivity.class);
        context.startActivity(intent);
    }


}
